aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.S...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-20 17:11:37 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-20 17:11:37 +0000
commitbed3635d310d243a7946566e4eea0ed5e4833a49 (patch)
tree13645f1d4ab2283cd8e8aceb2e836cebec9e2a98 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent02cb942ad9e1bd9dd6cb1083bd322ade3f83613e (diff)
Move ShidToPatio code to separate package
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected21
1 files changed, 21 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..d5f76603
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,21 @@
+Compilation unit elements:
+
+(
+ function-decl
+ "shed__runtime__string_add"
+ params=((param "left" int) (param "right" int))
+ return-type=int
+)
+
+Locals:
+ * (val "binaryOpResult__0" int)
+
+Instructions:
+
+(
+ (call (local "binaryOpResult__0") "shed__runtime__string_add" ((local "b") (local "c")))
+)
+
+Temporary stack:
+ * PatioLocalRef[name=binaryOpResult__0]
+ * PatioLocalRef[name=a]